<?php
include_once('admin/php/includes/definer.php');
include_once(INC.'admin/php/bootstrap.php');
include_once(INC.'php/checkers/language.checker.php');
?>
<!DOCTYPE html>
<!--[if IE 8]> 				 <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->

    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width" />
        <title><?php echo($language->contacto); ?> | Tower Technology</title>

        <link rel="stylesheet" href="<?php echo(URL); ?>stylesheets/normalize.css" />
        <link rel="stylesheet" href="<?php echo(URL); ?>stylesheets/app.css" />
        <script src="<?php echo(URL); ?>admin/php/includes/definer.js" type="text/javascript"></script>
        <script src="<?php echo(URL); ?>javascripts/vendor/custom.modernizr.js"></script>

    </head>
    <body>
        <!-- BOTONERA -->
        <?php include_once('tpl/nav.php'); ?>
        <?php include_once('tpl/nav-mobile.php'); ?>
        <!-- FIN BOTONERA -->

        <section id="la-empresa">
            <div class="row">
                <div class="large-2 large-centered columns"><p><?php echo($language->leyendaConsulta); ?></p></div>
            </div>
            <form action="" method="post" id="form-web">
                <div class="row">
                    <div class="large-6 columns">
                        <div class="row">
                            <div class="large-12 columns">
                                <div class="panel">
                                    <label for="nombre"><?php echo($language->nombreApellido); ?></label>
                                    <input type="text" id="nombre" name="nombre" />
                                    <label for="email">Email</label>
                                    <input type="text" id="email" name="email" />
                                    <label for="tel"><?php echo($language->telefono); ?></label>
                                    <input type="text" id="tel" name="tel" />
                                    <label for="consulta"><?php echo($language->consulta); ?></label>
                                    <textarea id="consulta" name="consulta" cols="30" rows="10"></textarea>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="large-4 small-12 large-centered columns">
                                <input type="submit" name="ingresar" id="acceder" class="button" value="<?php echo($language->enviar); ?>" />
                            </div>
                        </div>
                    </div>
                    <div class="large-6 columns">
                        <div class="row">
                            <div class="large-12 columns">
                                <div class="mapa">
                                    <iframe width="100%" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=es&amp;geocode=&amp;q=Domingo+French+36+(1603)+V.+Martelli+-+Buenos+Aires&amp;aq=&amp;sll=37.0625,-95.677068&amp;sspn=58.598104,135.263672&amp;ie=UTF8&amp;hq=&amp;hnear=Domingo+French+36,+Villa+Martelli,+Buenos+Aires,+Argentina&amp;t=m&amp;ll=-34.546227,-58.509922&amp;spn=0.024744,0.036478&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe>
                                </div>                                
                            </div>
                        </div>
                        <div class="row" id="info-contacto">
                            <div class="large-6 columns">
                                <p><span><?php echo($language->administracionVentas); ?></span> <br />
                                    Domingo French 36 <br />
                                    (1603) V. Martelli - Buenos Aires <br />
                                    Tel. 5411 4709-9100 
                                </p>
                            </div>
                            <div class="large-6 columns">
                                <p><span><?php echo($language->contacto); ?></span> <br />
                                    <a href="mailTo:info@plasticostowe.com">info@plasticostowe.com</a><br />
                                    www.plasticostower.com<br />
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </section>

        <!-- FOOTER -->
        <?php include_once './tpl/footer.html'; ?>
        <!-- FIN FOOTER -->

        <script>
            document.write('<script src=' +
                    ('__proto__' in {} ? '<?php echo(URL); ?>javascripts/vendor/zepto' : '<?php echo(URL); ?>javascripts/vendor/jquery') +
                    '.js><\/script>')
        </script>

        <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>

        <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>

        <script src="<?php echo(URL); ?>javascripts/foundation/foundation.js"></script>

        <script src="<?php echo(URL); ?>javascripts/foundation/foundation.alerts.js"></script>

        <script src="<?php echo(URL); ?>javascripts/foundation/foundation.clearing.js"></script>

        <script src="<?php echo(URL); ?>javascripts/foundation/foundation.cookie.js"></script>

        <script src="<?php echo(URL); ?>javascripts/foundation/foundation.dropdown.js"></script>

        <script src="<?php echo(URL); ?>javascripts/foundation/foundation.forms.js"></script>

        <script src="<?php echo(URL); ?>javascripts/foundation/foundation.joyride.js"></script>

        <script src="<?php echo(URL); ?>javascripts/foundation/foundation.magellan.js"></script>

        <script src="<?php echo(URL); ?>javascripts/foundation/foundation.orbit.js"></script>

        <script src="<?php echo(URL); ?>javascripts/foundation/foundation.placeholder.js"></script>

        <script src="<?php echo(URL); ?>javascripts/foundation/foundation.reveal.js"></script>

        <script src="<?php echo(URL); ?>javascripts/foundation/foundation.section.js"></script>

        <script src="<?php echo(URL); ?>javascripts/foundation/foundation.tooltips.js"></script>

        <script src="<?php echo(URL); ?>javascripts/foundation/foundation.topbar.js"></script>

        <script src="<?php echo(URL); ?>javascripts/validate/jquery.validate.js"></script>
        
        <script src="<?php echo(URL); ?>javascripts/buscar.js"></script>

        <script>
            $(document).foundation();
            $(document).ready(function() {
                $("#form-web").validate({
                    rules: {
                        nombre: {
                            required: true
                        },
                        email: {
                            required: true,
                            email: true
                        },
                        consulta: {
                            required: true,
                            minlength: 20                            
                        }
                    },
                    submitHandler: function($form) {
                        progressBar()
                        $form.submit();
                    }
                });
            });
        </script>
    </body>
</html>
